﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

namespace Cemit.BossStateMachine.Action
{
    public class LoadScene : MonoBehaviour
    {
        public LoadSceneMode mode;

        public void Load(int index)
        {
            SceneManager.LoadScene(index, mode);
        }

        public void Load(string name)
        {
            SceneManager.LoadScene(name, mode);
        }
    }
}